package com.jindun.paper.ui.bag.bean;

public class BagOrderItemRowData {
	private BagOrderItemInputBean input;
	private BagOrderItemResultBean result;
	
	public BagOrderItemRowData (BagOrderItemInputBean input, BagOrderItemResultBean result) {
		this.input = input;
		this.result = result;
	}
	
	public BagOrderItemInputBean getInput() {
		return input;
	}
	public void setInput(BagOrderItemInputBean input) {
		this.input = input;
	}
	public BagOrderItemResultBean getResult() {
		return result;
	}
	public void setResult(BagOrderItemResultBean result) {
		this.result = result;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((input == null) ? 0 : input.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		BagOrderItemRowData other = (BagOrderItemRowData) obj;
		if (input == null) {
			if (other.input != null)
				return false;
		} else if (!input.equals(other.input))
			return false;
		return true;
	}
	
	
	
	
	
}
